package ru.ksu.ktk.diploma.sdi.mapping.learner;

import java.util.List;

public interface MappingLearner {

    /**
     * learn from given examples and save internal classification model
     * 
     * @param learningExamples
     */
    void learn(List<LearningExample> learningExamples);

    /**
     * applying internal classification model to given example data
     * 
     * @param example example data
     * @return prediction of triple for given example data
     */
    TriplePrediction apply(Example example);

}